<template>
  <h1>组件通讯-父传子</h1>
  <h1>父组件</h1>
  <hr />
  <Son :money="money" :car="car"></Son>
</template>

<script setup lang="ts">
import { ref } from "@vue/reactivity";
import Son from "./components/Son.vue";

const money = ref(100);
const car = ref("五菱宏光MINI");
</script>